Meaning of the word "score points" in English

What does "score points" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

score points

US /skɔr pɔɪnts/
UK /skɔː pɔɪnts/
"score points" picture

Idiom

to gain an advantage or favor with someone

Example:
He tried to score points with his boss by working late every night.
You're not going to score any points with her by being rude.